import { Field, ObjectType } from "@nestjs/graphql";
import { Pagination } from "./pagination";
import { ClassesEntity } from "../classes.entity/classes.entity";


@ObjectType()
export class ClassesPagination extends Pagination {
    @Field(() => [ClassesEntity])
    data: ClassesEntity[]
}